//
//  NSString+handle.h
//  OMS
//
//  Created by goldeney on 14/12/1.
//  Copyright (c) 2014年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (handle)

- (float)heightForFont:(UIFont*)font andWidth:(float)width;

- (float)widthForFont:(UIFont*)font andHeight:(float)height;

- (CGFloat)heightAutoCalculateFontSize:(UIFont*)font andWidth:(float)width;

- (CGFloat)widthAutoCalculateFontSize:(UIFont*)font andHeight:(float)height;

@end
